import request from '@/utils/request'
const api = '/maintenance'
export default {
    fetchMenuList(){
        return request({
            url: `${api}/menu`,
            method: 'get'
        })
    },
    fetchStaffList(){
        return request({
            url: `${api}/staff`,
            method: 'get'
        })
    },
    fetchBileiqiList(query){
        return request({
            url: `${api}/list`,
            method: 'get',
            params: query
        })
    },
    sendMail(pojo){
        return request({
            url: `${api}/mail`,
            method: 'post',
            data: pojo
        })
    }
  }
  